package com.ruoyi.property.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 折扣设置对象 pro_fee_discount_info
 * 
 * @author sux
 * @date 2021-06-30
 */
public class FeeDiscountInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 折扣ID */
    private Long discountId;

    /** 折扣名称 */
    @Excel(name = "折扣名称")
    private String discountName;

    /** 折扣类型 */
    @Excel(name = "折扣类型")
    private String discountType;

    /** 规则名称 */
    @Excel(name = "规则名称")
    private String ruleName;

    /** 规则 */
    @Excel(name = "规则")
    private String rule;

    public void setDiscountId(Long discountId) 
    {
        this.discountId = discountId;
    }

    public Long getDiscountId() 
    {
        return discountId;
    }
    public void setDiscountName(String discountName) 
    {
        this.discountName = discountName;
    }

    public String getDiscountName() 
    {
        return discountName;
    }
    public void setDiscountType(String discountType) 
    {
        this.discountType = discountType;
    }

    public String getDiscountType() 
    {
        return discountType;
    }
    public void setRuleName(String ruleName) 
    {
        this.ruleName = ruleName;
    }

    public String getRuleName() 
    {
        return ruleName;
    }
    public void setRule(String rule) 
    {
        this.rule = rule;
    }

    public String getRule() 
    {
        return rule;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("discountId", getDiscountId())
            .append("discountName", getDiscountName())
            .append("discountType", getDiscountType())
            .append("ruleName", getRuleName())
            .append("rule", getRule())
            .append("createTime", getCreateTime())
            .toString();
    }
}
